package com.hunliji.monitor.share.component.lock.config;

import com.hunliji.monitor.share.component.lock.enums.DistributedLockConstants;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 分布式锁的配置
 * @author wuchen
 */
@Configuration
@ConfigurationProperties(prefix = "distributed.config")
@Data
public class DistributedLockConfig {
    /**
     * 选择的技术类型
     * 可以配置的类型为{@link DistributedLockConstants.TechType}
     */
    private String techType;
}
